//
//  ShareCoreData.h
//  吃货·上海
//
//  Created by lanou on 15/12/1.
//  Copyright © 2015年 濮亚军. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIImageView+WebCache.h"
#import "MenuModel+CoreDataProperties.h"
#import "MenuModel.h"
#import "SHMenuModel.h"

@interface ShareCoreData : NSObject

@property(nonatomic,strong)NSManagedObjectContext *context;


+ (ShareCoreData *)shareInstance;

- (void)insertData:(SHMenuModel *)model;

- (void)deleteDataWithTitle:(NSString *)title;

- (NSArray *)selectAllDataWithSortString:(NSString *)sortString;

- (MenuModel *)selectOneDataWithTitle:(NSString *)titleString;


@end
